-module(build).
-import(erlydb).
-import(erlyweb).

-export([compile/0]).

compile() ->
	erlydb:start(mysql, [{hostname, "localhost"}, {username, "petstore"}, {password, "password"}, {database, "petstore"}]), 
	erlyweb:compile("/usr/var/yaws/app/petstore/", [{erlydb_driver, mysql}]).